package com.kaisheng.service;

import java.util.List;

import com.kaisheng.dao.UserDao;
import com.kaisheng.entity.User;

public class LoginService {
	UserDao ud = new UserDao();
	public User findByEmail(String email){
		User user = ud.findByEmail(email);
		return user;
	}

	public List<User> findAll() {
		return ud.findAll();
	}
}
